﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.DAL;

namespace Domain.BLL
{
    public class OrderBLL
    {
        public int OrderID { get; set; }
        public string CustomerID { get; set; }
        public int EmployeeID { get; set; }
        public DateTime OrderDate { get; set; }
        public DateTime RequiredDate { get; set; }
        public string ShipAddress { get; set; }
        public string Note { get; set; }
        public int Total { get; set; }

        //public List<OrderDetailsBLL> OrderDetails { get; set; }

        public int addNewOrder()
        {
            OrderDAL.addNewOrder(this);
            return this.OrderID;
        }
    }
}
